package edu.iscas.xcheck.analysis.dom.model;

public class BrowserPage {
	private String _id;
	private String logId;
	private String testCaseId;
	private int seq;
	private String url;
	private String browser;
	private String browser_version;
	private PageLog log;
	private boolean isLowerBrowser;
	private String stateFlow;
	
	public String get_id() {
		return _id;
	}

	public void set_id(String _id) {
		this._id = _id;
	}

	public String getLogId() {
		return logId;
	}

	public void setLogId(String logId) {
		this.logId = logId;
	}

	public int getSeq() {
		return seq;
	}

	public void setSeq(int seq) {
		this.seq = seq;
	}

	public String getBrowser() {
		return browser;
	}

	public void setBrowser(String browser) {
		this.browser = browser;
	}

	public String getVersion() {
		return browser_version;
	}

	public void setVersion(String version) {
		this.browser_version = version;
	}

	public PageLog getLog() {
		return log;
	}

	public void setLog(PageLog log) {
		this.log = log;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}
	
	public String getHash(){
		return browser+"_"+browser_version;
	}

	public boolean isLowerBrowser() {
		return isLowerBrowser;
	}

	public void setLowerBrowser(boolean isLowerBrowser) {
		this.isLowerBrowser = isLowerBrowser;
	}

	public String getTestCaseId() {
		return testCaseId;
	}

	public void setTestCaseId(String testCaseId) {
		this.testCaseId = testCaseId;
	}

	public String getStateFlow() {
		return stateFlow;
	}

	public void setStateFlow(String stateFlow) {
		this.stateFlow = stateFlow;
	}

	@Override
	public String toString() {
		return "BrowserPage [_id=" + _id + ", logId=" + logId + ", testCaseId=" + testCaseId + ", seq=" + seq + ", url="
				+ url + ", browser=" + browser + ", browser_version=" + browser_version + ", log=" + log
				+ ", isLowerBrowser=" + isLowerBrowser + ", stateFlow=" + stateFlow + "]";
	}
	
}
